<!doctype html>
<html lang="en-US">
<head>
    <meta charset="UTF-8">
    <title></title>
    <script type="text/javascript" src="../bower_components/jquery/dist/jquery.js"></script>
</head>
<body>
<style type="text/css">
    ul{
        list-style-type: disc;
    }
    li{
        display: list-item;
        display: inline;
    }
</style>

<ul>
    <li><a href="#home">home</a></li>
    <li><a href="#about">about</a></li>
</ul>

<script type="text/javascript">
    window.addEventListener('hashchange',function(){
         console.log('hahschange');
    },false);
</script>

</body>
</html>